import request from '@/utils/request'

// 查询设备台账测试列表
export function listNodetestone(query) {
  return request({
    url: '/sbtz/nodetestone/list',
    method: 'get',
    params: query
  })
}

// 查询设备台账测试详细
export function getNodetestone(id) {
  return request({
    url: '/sbtz/nodetestone/' + id,
    method: 'get'
  })
}

// 新增设备台账测试
export function addNodetestone(data) {
  return request({
    url: '/sbtz/nodetestone',
    method: 'post',
    data: data
  })
}

// 修改设备台账测试
export function updateNodetestone(data) {
  return request({
    url: '/sbtz/nodetestone',
    method: 'put',
    data: data
  })
}

// 删除设备台账测试
export function delNodetestone(id) {
  return request({
    url: '/sbtz/nodetestone/' + id,
    method: 'delete'
  })
}
